<!--
  ~ Copyright 2014-2020 the original author or authors.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!doctype html>
<html class="h-full">
  <head>
    <base href="/" th:href="${baseUrl}" />
    <meta charset="utf-8" />
    <title th:text="${uiSettings.title}">Spring Boot Admin</title>
    <link
      rel="shortcut icon"
      th:href="${uiSettings.favicon}"
      type="image/png"
    />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
    <meta content="telephone=no,email=no" name="format-detection" />
    <meta
      content="#42d3a5"
      name="theme-color"
      th:content="${uiSettings.theme.color}"
    />

    <link href="./index.css" rel="stylesheet" />
    <link href="/variables.css" rel="stylesheet" />

    <link
      as="style"
      rel="preload"
      th:each="cssExtension : ${cssExtensions}"
      th:href="'extensions/' + ${cssExtension.resourcePath}"
    />
    <script lang="javascript" src="sba-settings.js"></script>
    <link
      as="script"
      rel="preload"
      th:each="jsExtension : ${jsExtensions}"
      th:href="'extensions/' + ${jsExtension.resourcePath}"
    />
  </head>
  <body class="h-full">
    <div id="app"></div>

    <script src="./index.ts" type="module"></script>
  </body>
</html>
